package com.starhub.engine.directory.request;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel(value = "附件目录管理后台配置参数实体", description = "附件目录管理后台配置参数实体")
public class DirectoryShareBsRequest {
    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(name = "id" , value = "")
    private Long id;

    @ApiModelProperty(name = "name" , value = "")
    private String name;

    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(name = "parentId" , value = "")
    private Long parentId;

    @ApiModelProperty(name = "directoryPath" , value = "")
    private String directoryPath;

    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(name = "userId" , value = "")
    private Long userId;

    @ApiModelProperty(name = "createDateTime" , value = "")
    private Date createDateTime;

    @ApiModelProperty(name = "userIds" , value = "")
    private String userIds;

    @ApiModelProperty(name = "permissionIds" , value = "")
    private String permissionIds;

    @ApiModelProperty(name = "directoryId" , value = "")
    private Long directoryId;
}
